# encoding=utf-8
class StudentAttendanceAtt:
    '''班级考勤统计模块属性'''

    #查询按钮
    classatt_selectbtn_css='button.btn.btn-primary'
    #查詢时间框id
    classatt_selecttime_id='datefilter'
    #查询结果
    classatt_results_xpath='//table/tbody/tr'
    #分页
    classatt_page_xpath='//ul[@class="pagination"]/li'
    #下一页
    classatt_pagenext_xpath='//li[@class="next"]/a'
    #导出按钮
    classatt_exportbtn_css='button.btn.btn-default.btnExport'
    #未出勤详情按钮
    classatt_noatt_css='button.btn-init.text-primary.viewNoAttendance'
    #详情页frame
    classatt_detailframe_id='layui-layer-iframe1'
    #未出勤详情人员
    classatt_noattdetail_css='ul.list-unstyled.item-select'
    #按月统计tab页
    stuatt_monthpage_text='按月统计'
    #考勤明细--按月统计--月份
    stuatt_month_id='monthDate'
    #考勤明细--按月统计--查询按钮
    stuatt_selectbtnbymonth_id='searchBtn'
    #不可编辑的日历控件
    stuatt_monthyear_class='laydate-set-ym'
    #时间控件的确定按钮
    stuatt_confirm_class='laydate-btns-confirm'
    #出勤明细按钮
    stuatt_detail_css='button.btn-init.text-primary.viewMonthAttendance'
    #出勤明细里面的总条数
    stuatt_detailcount_xpath='//li/a/strong[@class="text-primary"]'

    '''考勤配置模块'''
    #一天两次
    stuattcon_2card_xpath='//input[@name="attendType" and @value="2"]'
    #一天四次
    stuattcon_4card_xpath = '//input[@name="attendType" and @value="4"]'
    # time1
    stuattcon_1time_id='time1'
    # time2
    stuattcon_2time_id = 'time2'
    # time3
    stuattcon_3time_id = 'time3'
    # time4
    stuattcon_4time_id = 'time4'